//
//  GoodEvaluateModel.m
//  B2C
//
//  Created by xiaowu on 2017/8/4.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import "GoodEvaluateModel.h"

@implementation GoodEvaluateImgModel

MJCodingImplementation
@end

@implementation GoodEvaluateModel

MJCodingImplementation

+ (NSDictionary *)mj_objectClassInArray {
    return @{@"imgs":[ImageUrlModel class],
             @"evaluateimg":[GoodEvaluateImgModel class]};
}
- (NSArray *)getEvaluateImgsUrl {
    NSMutableArray *urlArrs = [NSMutableArray array];
    for (GoodEvaluateImgModel *model in self.evaluateimg) {
        if (model.eiimg.length > 0) {
            [urlArrs addObject:model.eiimg];
        }
    }
    return urlArrs;
}
- (NSArray *)getImgsUrl {

    NSMutableArray *urlArrs = [NSMutableArray array];
    for (ImageUrlModel *model in self.imgs) {
        if (model.giimg.length > 0) {
            [urlArrs addObject:model.giimg];
        }
    }
    return urlArrs;
}

@end
